<h1>What do you need</h1>

<table>
  <tr>
    <th>Name</th>
    <th></th>
    <th>Advanced...</th>
  </tr>

<% @root_categories.each do |root_category| %>
  <tr>
    <td><%=h root_category.name %></td>
    <td><%= link_to '>>    >>   >>', root_category , :purpose => :display %></td>
	<td>
	<table>
	<tr>
    <td><%= link_to 'Inspect', root_category,  :purpose => :inspect %></td>
	</tr>
	<tr>
    <td><%= link_to 'Edit', edit_root_category_path(root_category) %></td>
	</tr>
	<tr>
    <td><%= link_to 'Delete', root_category, :confirm => 'Are you sure?', :method => :delete %></td>
	</tr>
	<tr>
	</table>
	</td>
  </tr>
<% end %>
  <tr>
  <td></td>
  <td></td>
  <td><%= link_to 'New root_category', new_root_category_path %></td>
  </tr>
</table>

<br />

